home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
gt_power
/
jluti400.zip
/
QU.HLP
< prev
next >
Wrap
Text File
|
1990-12-15
|
4KB
|
107 lines
┌─────────────────────────────────────────────────────────────────────────────┐
│ Option: QU QUESTIONAIRE...................................................│
└─────────────────────────────────────────────────────────────────────────────┘
Syntax
═══════════════════════════════════════════════════════════════════════════════
JLUTIL /QU [Parameters] [-Switches]
═══════════════════════════════════════════════════════════════════════════════
Switch Description
═══════════════════════════════════════════════════════════════════════════════
No Switches available at this time.
═══════════════════════════════════════════════════════════════════════════════
Param Description
═══════════════════════════════════════════════════════════════════════════════
FileName Name of the Questionaire-File.
═══════════════════════════════════════════════════════════════════════════════
Explanation
═══════════════════════════════════════════════════════════════════════════════
JLUTIL /QU displays the questionaire and stores the answers. You can
specify several input formats (uppercase, numbers only etc.) and
send the answers then as a msg to somebody.
The questionaire has some variables (inspect QUEST001.@JL if you want
to have an example):
@@DE= Delimiter Char
@@RE= Receiver of the Msg
@@NN= NetNode of the Receiver
@@SU= Message Subject
@@AR= MsgArea
@@TI= Title of this Questionaire; will be displayed whenever you
use the CLS Command. Delete a title with @@TI=
@@CO= Comment
;... ignore this line
GET VARIABLES FROM USER:
------------------------------------------------------------------
and now lets discuss an example line:
NET-NODE= |Enter the Net/Node of your BBS: | 7|1|4|1|1
NET-NODE= Variable Name within the Msg
Enter.... Questiontext
1.Flag Max. Length of the Answer
2.Flag 1: ClrLine before asking the Question
1: ClrLine after asking the Question
3: ClrLine before & after asking the Question
3.Flag 1: Length of Answer must be > 0
2: Length of Answer can be = 0
4.Flag 1: all chars, normal
2: transform to uppercase chars
3: numbers 0123456789
4: extended numbers 0123456789/() etc.
5.Flag 1: display normal
2: invisible
3: write dots
6.Flag 1: press RETURN
2: without RETURN (for single Char Answers)
COMMANDS:
------------------------------------------------------------------
Command Description
--------------------- --------------------------------------------
CLS Clear Screen
GOTO :LABEL Jump to :Label
:LABEL Label
IF ... IF CLAUSES
SETFBCOLOR f,b Set Foreground to f and Background to b
(f,n are integer)
DELAY n Waits n milliseconds
;EXAMPLE:
;------------------------------------------------------
:PSW
SETFBCOLOR 14,0
PSW= |Enter your Password|30|3|1|1|1|1
IF PSW = JuLo THEN GOTO :JULO
GOTO :WRONGPSW
:JULO
@@CO=Hi, JuLo.
@@CO=
:GET_NUMBER
NR= |Enter a number greater 10 |3| 5|1|3|1|1
IF NR <= 10 THEN GOTO :GET_NUMBER
@@CO=You've got it. Bye, Bye.
@@CO=
GOTO :ENDE
:WRONGPSW
SETFBCOLOR 12,11
@@CO=WRONG PASSWORD
DELAY 1000
GOTO :PSW
:ENDE
;------------------------------------------------------
═══════════════════════════════════════════════════════════════════════════════